package com.cl.controller;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

import com.cl.interceptor.Auth;


/**
 * 首页controller
 * @author chen
 * @date 2016-9-13 下午3:23:46
 */
@Controller
public class IndexController extends BaseController{
	
	/**
	 * 后台框架页面
	 * @param request
	 * @param response
	 * @return
	 */
	@Auth(verifyLoginM=true)
	@RequestMapping("/frame")
	public ModelAndView frame(HttpServletRequest request,HttpServletResponse response){
		return forward("pc/common/frame", null);
	}
}
